from rest_framework import serializers
from itsecure.models import DingTalkOAApproval

class DingTalkOAApprovalSerializer(serializers.HyperlinkedModelSerializer):
    class Meta:
        model = DingTalkOAApproval
        fields = ['id', 'url', 'aprprovalNo', 'applicant', 'createAt', 'updateAt', 'desc']